package cn.relx.service.service;

import cn.relx.basic.util.PageList;
import cn.relx.service.domain.OrderProduct;
import cn.relx.basic.service.BaseService;
import cn.relx.service.domain.Product;
import cn.relx.service.query.OrderProductQuery;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author relx
 * @since 2022-11-03
 */
public interface IOrderProductService extends BaseService<OrderProduct> {

    void addOrder(Product product,Long shopId,Long userId);

    PageList<OrderProduct> findOrderProduct(OrderProductQuery query);

    void updateEliminate(Long id);

    void ordersReceived(Long id);

}
